use fluffy::model::Model;
use serde_derive::Serialize;

#[derive(Debug, Serialize)]
pub struct Videos { 
    pub id: usize,
    pub title: String,
    pub remark: String,
    pub created: u32,
    pub tag_ids: String,
    pub cover_image: String,
}

impl Model for Videos { 
    fn get_table_name() -> &'static str { 
        "videos"
    }
}
